projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d5c9e7
)
(face_before_or_after_it_pos): Call
author
Kenichi Handa
<handa@m17n.org>
Tue, 23 Jul 2002 04:48:25 +0000
(
04:48
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 23 Jul 2002 04:48:25 +0000
(
04:48
+0000)
FETCH_MULTIBYTE_CHAR with byte postion, not char position.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index cf538ed92412fe85d6aa5255276f38c3e97ea5e8..f8139626d792604c74889782b6d41ff53938ce28 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-2528,7
+2528,7
@@
face_before_or_after_it_pos (it, before_p)
suitable for unibyte text if current_buffer is unibyte. */
if (it->multibyte_p)
{
- int c = FETCH_MULTIBYTE_CHAR (
CHAR
POS (pos));
+ int c = FETCH_MULTIBYTE_CHAR (
BYTE
POS (pos));
struct face *face = FACE_FROM_ID (it->f, face_id);
face_id = FACE_FOR_CHAR (it->f, face, c);
}